# -*- coding: utf-8 -*-

import traceback


def func1():
    tbs = traceback.extract_stack()
    print(traceback.extract_stack())
    print(tbs[0])
    print(tbs[-3][-2])
    return 1


def func2():
    return func1()


def func3():
    return func2()


def func4():
    return func3()


def func5():
    return func4()


def main():
    print(func5())


if __name__ == "__main__":
    main()
